package com.senlingspace.system.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.senlingspace.system.domain.SlkjStoreCostMarketing;

/**
 * 营销成本明细Service接口
 *
 * @author SenlingSpace
 * @date 2024-07-22
 */
public interface ISlkjStoreCostMarketingService
{
    /**
     * 查询营销成本明细
     *
     * @param id 营销成本明细主键
     * @return 营销成本明细
     */
    public SlkjStoreCostMarketing selectSlkjStoreCostMarketingById(Long id);

    /**
     * 查询营销成本明细列表
     *
     * @param slkjStoreCostMarketing 营销成本明细
     * @return 营销成本明细集合
     */
    public PageInfo<SlkjStoreCostMarketing> selectSlkjStoreCostMarketingList(SlkjStoreCostMarketing slkjStoreCostMarketing, boolean pageFlag);

    /**
     * 新增营销成本明细
     *
     * @param slkjStoreCostMarketing 营销成本明细
     * @return 结果
     */
    public int insertSlkjStoreCostMarketing(SlkjStoreCostMarketing slkjStoreCostMarketing);

    /**
     * 修改营销成本明细
     *
     * @param slkjStoreCostMarketing 营销成本明细
     * @return 结果
     */
    public int updateSlkjStoreCostMarketing(SlkjStoreCostMarketing slkjStoreCostMarketing);

    /**
     * 批量删除营销成本明细
     *
     * @param ids 需要删除的营销成本明细主键集合
     * @return 结果
     */
    public int deleteSlkjStoreCostMarketingByIds(Long[] ids);

    /**
     * 删除营销成本明细信息
     *
     * @param id 营销成本明细主键
     * @return 结果
     */
    public int deleteSlkjStoreCostMarketingById(Long id);
}
